using System;

namespace RemoteController
{
	/// <summary>
	/// Summary description for TVOnCommand.
	/// </summary>
	public class TVOnCommand : Command
	{

		TV tv;

		public TVOnCommand(TV tv) {
			this.tv= tv;
		}
		
		#region Command Members
		public object Execute() {
			return tv.On() + tv.SetInputChannel();
		}

		public object Undo() {
			return tv.Off();
		}	
		#endregion	
	}
}